import './assets/main.css'
import '@varlet/ui/es/style' //varlet

import 'virtual-icons' //varlet svg icon入口文件导入虚拟模块

import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'
import Varlet, { StyleProvider, Themes } from '@varlet/ui' //varlet

StyleProvider(Themes.md3Light) //varlet

const app = createApp(App)

app.use(Varlet) //varlet
app.use(createPinia())
app.use(router)

app.mount('#app')
